package club.pchome.dao;

import club.pchome.model.TRank;
import org.springframework.stereotype.Repository;
import java.util.List;


/** 用户等级**/
@Repository
public interface TRankDao extends BaseDao<TRank>{


	public int getUserRank(long userId);

	public int getUserRankByCellPhone(String cellPhone);

	public int selectmyrank(Long userId);
	
	public int updateuserbuyzs(TRank tRank);
	
	public TRank selecttrankforuserid(Long userId);
	
	public int updaterank(TRank tRank);

	public List<Long> selectallrankfive();
}